<!doctype html>
<html>
<head>
    <meta charset="UTF-8">
    <title>注册</title>
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <!--公用样式-->
    <link rel="stylesheet" href="${re.contextPath}/plugin/common/css/comment.css">
    <!--页面样式-->
    <link rel="stylesheet" href="${re.contextPath}/plugin/common/css/style.css">
    <link rel="stylesheet" href="${re.contextPath}/plugin/common/css/extended.css">
    <script type="text/javascript" src="${re.contextPath}/plugin/layui/layui.all.js"></script>
    <script type="text/javascript" src="${re.contextPath}/plugin/jquery/jquery-3.2.1.min.js"></script>

</head>
<body >

<!--头部-->
<header class="whitebg">
    <img src="images/2@2x.png" class="logo" alt="" />
</header>
<!--容器-->
<div class="container">
    <!--占位-->
    <div class="headerHight"></div>
    <!--注册需方企业账号-->
    <form action="">
        <div class="regBox regBoxOne whitebg">
            <div class="ft22">注册需方企业账号</div>
            <ul class="clearfix">
                <li class="clearfix">
                    <label><span class="red">*</span> 用户名</label>
                    <input type="text" name="name" id="" value="" placeholder="请输入用户名">
                </li>
                <li class="clearfix">
                    <label><span class="red">*</span> 单位名称</label>
                    <input type="text" name="name" id="" value="" placeholder="请输入单位名称">
                </li>
                <li class="clearfix">
                    <nav class="fl">
                        <label><span class="red">*</span> 密码</label>
                        <input type="text" name="name" id="" value="" placeholder="请输入密码">
                    </nav>
                    <div class="gary ft14 fr passTips">密码最少为8位，且至少包含大写字母、小写字母，数字、特殊字符(~!@#$%^&*)中的三种</div>
                </li>
                <li class="clearfix">
                    <label><span class="red">*</span> 联系人</label>
                    <input type="text" name="name" id="" value="" placeholder="请输入联系人">
                </li>
                <li class="clearfix">
                    <label><span class="red">*</span> 联系方式</label>
                    <input type="text" name="name" id="" value="" placeholder="请输入联系方式">
                </li>
                <li class="clearfix">
                    <label>邮箱</label>
                    <input type="text" name="name" id="" value="" placeholder="请输入邮箱">
                </li>
                <li class="clearfix">
                    <label>单位性质</label>
                    <select>
                        <option value="">机关</option>
                    </select>
                </li>
                <li class="clearfix">
                    <label><span class="red">*</span> 省市</label>
                    <div class="selAddress clearfix">
                        <select name="province" id="province">
                            <option value="请选择">请选择</option>
                        </select>
                        <select name="city" id="city" class="ml10">
                            <option value="请选择">请选择</option>
                        </select>
                    </div>
                </li>
                <li class="clearfix">
                    <label>详细地址</label>
                    <input type="text" name="name" id="" value="" placeholder="请输入">
                </li>
            </ul>
            <div class="regBtn clearfix">
                <a href="login.html" class="fl">返回</a>
                <a href="regSuccess.html" class="fr"><button type="button" class="bluebg white fr bor0">提交</button></a>
            </div>
            <div class="codePassword agreeLogin center">
                <input type="checkbox" name="" id="" value="" class="fl mt10"/>
                <span class="fl">
						同意<span><a href="protocol.html" class="blue">《注册协议》</a></span>和<span><a href="protocol.html" class="blue">《隐私政策》</a></span>
					</span>
            </div>
        </div>
    </form>
</div>

<!--公用样式JS-->
<script type="text/javascript" charset="utf-8" src="${re.contextPath}/plugin/common/js/comment.js"></script>
<!--选择城市js-->
<script type="text/javascript" charset="utf-8" src="${re.contextPath}/plugin/common/js/area.js"></script>
<script type="text/javascript" charset="utf-8" src="${re.contextPath}/plugin/common/js/select.js"></script>
<script>
  var layer;
  $(function  () {
    layui.use(['form','layer'], function(){
      var form = layui.form;
      form.verify({
        username:function(v){
          if(v.trim()==''){
            return "用户名不能为空";
          }
        }
        ,password:function(v){
          if(v.trim()==''){
            return "密码不能为空";
          }
        },code:function(v){
              if(v.trim()==''){
                  return '验证码不能为空';
              }
          }
      });

      form.render();
    });
    layer = layui.layer;
    var msg='${message}';
    if(msg.trim()!=""){
        layer.msg(msg, {icon: 5,anim:6,offset: 't'});
    }
      $("#code").click(function(){
          var url = "${re.contextPath}/getCode?v="+new Date().getTime();
          this.src = url;
      }).click().show();
    $('#code').on('mouseover',function(){
        layer.tips('点击刷新验证码', this,{time:1000});
    });
  })

  if (window != top)
    top.location.href = location.href;
</script>


<!-- 底部结束 -->
</body>
</html>
